package com.lwq.sensitive.annotation;

import com.lwq.sensitive.enums.SensitiveStrategyEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface SensitiveFiled {

    /**
     * 脱敏的策略
     */
    SensitiveStrategyEnum strategy() default SensitiveStrategyEnum.USER_NAME;

}
